package com.example.lib_common.http.server

import com.example.lib_common.http.HttpResponse
import com.example.lib_common.model.GetH5UrlResult
import com.example.lib_common.model.WanBannerItem
import retrofit2.http.GET
import retrofit2.http.Query

interface CommonOtherServer {

    @GET("/ucenter/common/h5Plugin")
    suspend fun getH5Url(@Query("type") type: Int): HttpResponse<List<GetH5UrlResult>>

    @GET("/banner/json")
    suspend fun banner(): HttpResponse<List<WanBannerItem>>
}